package com.runnor.common.websys.system.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.runnor.common.websys.system.config.MybatisRedisCache;
import com.runnor.common.websys.system.entity.SysMenu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.CacheNamespace;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author runnor
 * @description 针对表【sys_menu】的数据库操作Mapper
 * @createDate 2023-08-17 10:47:26
 * @Entity com.runnor.common.websys.system.entity.SysMenu
 */
@Mapper
@CacheNamespace(implementation = MybatisRedisCache.class, eviction = MybatisRedisCache.class)

public interface SysMenuMapper extends BaseMapper<SysMenu> {

    Page pages(Page page, @Param(Constants.WRAPPER) QueryWrapper<SysMenu> queryWrapper);
}




